@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&family=Noto+Sans:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    color: #34495e;
    background: linear-gradient(170deg, #f5f8f5 0%, #ffffff 30%);
}

.container {
    max-width: 1200px;
    margin: 100px auto 40px;
    padding: 0 20px;
}

.article-detail {
    background: #ffffff;
    padding: 60px;
    border-radius: 24px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.07);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.article-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 70px rgba(76, 175, 80, 0.12);
}

.back-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    margin-bottom: 35px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.back-button:hover {
    background: #43A047;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.article-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2em;
    color: #2c3e50;
    margin-bottom: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.article-meta {
    font-family: 'Poppins', sans-serif;
    background: rgba(76, 175, 80, 0.08);
    padding: 16px 30px;
    border-radius: 16px;
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 1em;
    color: #555;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4CAF50;
}

.article-image {
    margin: 40px auto;
    max-width: 900px;
    border-radius: 16px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.article-content {
    font-size: 1.15em;
    line-height: 1.8;
    color: #37474F;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-content p {
    margin-bottom: 1.8em;
}

.article-content h2, .article-content h3 {
    margin: 2em 0 1em;
    color: #2c3e50;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.article-content h2 {
    font-size: 1.8em;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
    margin-top: 2.5em;
}

.article-content h3 {
    font-size: 1.5em;
    color: #388E3C;
}

.article-content blockquote {
    border-left: 4px solid #4CAF50;
    padding: 25px 30px 25px 40px;
    margin: 2em 0;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 0 16px 16px 0;
    color: #455A64;
    font-style: italic;
    position: relative;
}

.article-content blockquote::before {
    content: '“';
    font-family: 'Georgia', serif;
    font-size: 4em;
    color: rgba(76, 175, 80, 0.2);
    position: absolute;
    left: 10px;
    top: 0px;
    line-height: 1;
}

.article-content pre {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
    margin: 1.8em 0;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.article-content code {
    font-family: 'Fira Code', Consolas, Monaco, monospace;
    background: rgba(76, 175, 80, 0.08);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    color: #388E3C;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        margin-top: 80px;
    }

    .article-detail {
        padding: 30px 20px;
    }
    
    .article-title {
        font-size: 2.2em;
    }
    
    .back-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 12px;
        padding: 15px 20px;
    }
    
    .article-content {
        font-size: 1.1em;
    }

    .article-image {
        margin: 30px -20px;
        border-radius: 0;
    }
}

@media (min-width: 2000px) {
    .container {
        max-width: 1400px;
    }
    
    .article-title {
        font-size: 3.5em;
    }
    
    .article-content {
        font-size: 1.3em;
        max-width: 1000px;
    }
}
